import axios from "axios";
export const queryRoleList = (params:any)=>{
    return axios.get('/sys/role/list',{params})
}
export const saveRole = (data:any)=>{
    return axios.post('/sys/role/add',data)
}
export const editRole = (data:any)=>{
    return axios.post('/sys/role/edit',data)
}
export const delRole = (params:any)=>{
    return axios.delete('/sys/role/delete',{params})
}